|
rs4853 2.2.0
|
Functions | |
| void | rs4853_cfg_setup (rs4853_cfg_t *cfg) |
| Config Object Initialization function. | |
| RS4853_RETVAL | rs4853_init (rs4853_t *ctx, rs4853_cfg_t *cfg) |
| Initialization function. | |
| void | rs4853_generic_write (rs4853_t *ctx, char *data_buf, uint16_t len) |
| Generic write function. | |
| int32_t | rs4853_generic_read (rs4853_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function. | |
| void rs4853_cfg_setup | ( | rs4853_cfg_t * | cfg | ) |
Config Object Initialization function.
| cfg | Click configuration structure. |
@description This function initializes Click configuration structure to init state.
| int32_t rs4853_generic_read | ( | rs4853_t * | ctx, |
| char * | data_buf, | ||
| uint16_t | max_len ) |
Generic read function.
| rs4853 | Click object. |
| data_buf | Data buffer for read data. |
| max_len | The maximum length of data that can be read. |
| void rs4853_generic_write | ( | rs4853_t * | ctx, |
| char * | data_buf, | ||
| uint16_t | len ) |
Generic write function.
| rs4853 | Click object. |
| data_buf | Data buffer for sends. |
| len | Number of bytes for sends. |
| RS4853_RETVAL rs4853_init | ( | rs4853_t * | ctx, |
| rs4853_cfg_t * | cfg ) |
Initialization function.
| rs4853 | Click object. |
| cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this Click.